import request from '@/utils/request'

// 查询收款计划列表
export function listPlan(query) {
  return request({
    url: '/finance/plan/list',
    method: 'get',
    params: query
  })
}

//支付方式查询
export function payMethodList() {
  return request({
    url: '/finance/plan/payMethodList',
    method: 'get'
  })
}

//支付宝支付
export function pay(data) {
  return request({
    url: '/finance/pay/orderPay',
    method: 'post',
    data: data
  })
}
